package com.youthburin.rmp.services.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.youthburin.rmp.domain.RmpUser;
import com.youthburin.rmp.repositories.RmpUserRepository;
import com.youthburin.rmp.services.RmpUserService;
@Service
public class RmpUserServiceImpl implements RmpUserService {
	@Autowired
	private RmpUserRepository rmpUserRepository;

	@Override
	public RmpUser viewRmpUser(String userCode) {
		return rmpUserRepository.findOne(userCode);
	}
}
